Only doctest libs by default
authorAlex Crichton <alex@alexcrichton.com>
Sat, 21 Mar 2015 01:52:45 +0000 (18:52 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Sat, 21 Mar 2015 01:52:45 +0000 (18:52 -0700)
src/cargo/core/manifest.rs

index 5d003f0dc9a9501cbbe470dc8c877d8e9c52ecbc..983985fc1f06590cb55a285b272d9cd6c9102f9e 100644 (file)
@@ -238,7 +238,7 @@ impl Target {
             src_path: PathBuf::new(""),
             metadata: None,
             doc: true,
-            doctest: true,
+            doctest: false,
             harness: true,
             for_host: false,
             tested: true,
@@ -254,6 +254,7 @@ impl Target {
             name: name.to_string(),
             src_path: src_path.to_path_buf(),
             metadata: Some(metadata),
+            doctest: true,
             ..Target::blank()
         }
     }